package com.shd.edanpei.presenter.contract;

import android.support.annotation.IdRes;
import android.widget.TextView;

import com.shd.edanpei.base.BaseIPresenter;
import com.shd.edanpei.base.BaseIView;


public interface SchemeContract {

    interface SchemeIView extends BaseIView {

        void setData(@IdRes int id, String data);

        void setTextView(TextView view, String str);

    }

    interface SchemeIPresenter extends BaseIPresenter {

        void setAmount(String data);

        void selectRate(@IdRes int id);

//        void selectWay(String str);

        void selectData(@IdRes int viewId);

        void setDay(String data);

        void submit(int tag, int orderId, int orderType, int index);

        void setRepayWay(TextView view);
    }
}
